import Vue from 'vue'
import Vuex from 'vuex'
import createLogger from 'vuex/dist/logger'
import paper from './modules/paper'
import question from './modules/question'
import user from './modules/user'
import contest from './modules/contest'
Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    paper,
    question,
    user,
    contest
  },
  plugins: [createLogger()]
})
